package com.yuju.vo.order;

import java.math.BigDecimal;
import java.util.Date;

import com.yuju.common.BaseVO;
import com.yuju.common.fileld.validator.Rule.NonNull;
/**
 * 
 * 类名：RoomOrderGuestVO  <br />
 *
 * 功能：
 *
 * @author : sunyl <br />
 * @Date : 2017年11月25日 下午4:30:44  <br />
 * @version : 1.1 <br />
 */
public class RoomOrderGuestVO extends BaseVO {
	 /**
     *  主键。存储UUID，由应用生成。,所属表字段为ord_room_order_guest.id
     */
	@NonNull(message = "主键不能为空", serviceLine = "update，del")
    private String id;
	// 每页显示记录数
	@NonNull(message = "每页显示行数不能为空", serviceLine = "pager")
	private Integer pageSize;
	
	// 当前页码
	@NonNull(message = "页数不能为空", serviceLine = "pager")
	private Integer page;

    public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	/**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为ord_room_order_guest.group_id
     */
    private String groupId;

    /**
     *  客单名臣。,所属表字段为ord_room_order_guest.acc_name
     */
    private String accName;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为ord_room_order_guest.hotel_id
     */
    private String hotelId;

    /**
     *  住客ID。外键，引用客人档案（grp_guest_info）的主键（id）。,所属表字段为ord_room_order_guest.room_guest_id
     */
    private String roomGuestId;

    /**
     *  房间ID。外键，引用房间信息表（hot_room）的主键（id）。,所属表字段为ord_room_order_guest.room_id
     */
    private String roomId;

    /**
     *  房间订单ID。外键，引用房间订单表（ord_room_order）的主键（id）。,所属表字段为ord_room_order_guest.room_order_id
     */
    @NonNull(message = "订单ID不能为空", serviceLine = "roomOrderId")
    private String roomOrderId;

    /**
     *  余额。,所属表字段为ord_room_order_guest.balance
     */
    private BigDecimal balance;

    /**
     *  备注。,所属表字段为ord_room_order_guest.remark
     */
    private String remark;

    /**
     *  是否逻辑删除。1表示已逻辑删除，2表示未逻辑删除，默认为2。,所属表字段为ord_room_order_guest.is_deleted
     */
    private Byte isDeleted;

    /**
     *  创建时间。,所属表字段为ord_room_order_guest.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为ord_room_order_guest.gmt_modified
     */
    private Date gmtModified;
    
    
    
    
    /*******************************************/

    /**
     *  入住状态。,所属表字段为ord_room_order.checkin_status
     */
    private Byte checkinStatus;

    private static final long serialVersionUID = 1L;

    
    
    
    public Byte getCheckinStatus() {
		return checkinStatus;
	}

	public void setCheckinStatus(Byte checkinStatus) {
		this.checkinStatus = checkinStatus;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccName() {
        return accName;
    }

    public void setAccName(String accName) {
        this.accName = accName;
    }

    public String getHotelId() {
        return hotelId;
    }

    public void setHotelId(String hotelId) {
        this.hotelId = hotelId;
    }

    public String getRoomGuestId() {
        return roomGuestId;
    }

    public void setRoomGuestId(String roomGuestId) {
        this.roomGuestId = roomGuestId;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getRoomOrderId() {
        return roomOrderId;
    }

    public void setRoomOrderId(String roomOrderId) {
        this.roomOrderId = roomOrderId;
    }

    public String getRemark() {
        return remark;
    }

    public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public void setRemark(String remark) {
        this.remark = remark;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", accName=").append(accName);
        sb.append(", hotelId=").append(hotelId);
        sb.append(", roomGuestId=").append(roomGuestId);
        sb.append(", roomId=").append(roomId);
        sb.append(", roomOrderId=").append(roomOrderId);
        sb.append(", remark=").append(remark);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", groupId=").append(groupId);
        sb.append("]");
        return sb.toString();
    }

}
